# !/usr/bin python3
# encoding: utf-8 -*-
# @file     : goods_page.py
# @author   : 沙陌 Matongxue_2
# @Time     : 2023/11/12 11:13
# @Copyright: 北京码同学
from pages.base_page import BuyerBasePage
from pages.buyer.order_page import OrderCheckoutPage


class GoodsDetailPage(BuyerBasePage):

    def click_buy_now(self):
        ele_info = self.page_eles['立即购买']
        self.operate.click(ele_info)
        return OrderCheckoutPage()

